package com.yy.web.pm.alarm.service.Impl;

import org.springframework.stereotype.Service;

import javax.annotation.Resource;

import com.yy.web.pm.alarm.domain.AlarmDateHistory;
import com.yy.web.pm.alarm.mapper.AlarmDateHistoryMapper;
import com.yy.web.pm.alarm.service.AlarmDateHistoryService;

@Service
public class AlarmDateHistoryServiceImpl implements AlarmDateHistoryService {

    @Resource
    private AlarmDateHistoryMapper alarmDateHistoryMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return alarmDateHistoryMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(AlarmDateHistory record) {
        return alarmDateHistoryMapper.insert(record);
    }

    @Override
    public int insertSelective(AlarmDateHistory record) {
        return alarmDateHistoryMapper.insertSelective(record);
    }

    @Override
    public AlarmDateHistory selectByPrimaryKey(Integer id) {
        return alarmDateHistoryMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(AlarmDateHistory record) {
        return alarmDateHistoryMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(AlarmDateHistory record) {
        return alarmDateHistoryMapper.updateByPrimaryKey(record);
    }

}
